/*
 * @Author: czy
 * @Date: 2021-07-09 21:02:58
 * @LastEditTime: 2021-07-12 21:30:27
 */
#include "stdbool.h"
#include "string.h"

#include "sys/system.h"

#include "../lib/cmd.h"

/**
 * @description: Start shell.
 */
void startShell(void)
{
    printk("Press any key to start shell...");
    getc();
    cls();
    char str[BUFFER] = "";
    while (true)
    {
        submitCmd(read(str, PROMPT));
        strzero(str, BUFFER);
    }
}
